ggplot(data = salamander,
mapping = aes(x = length_2_mm)) +
geom_histogram(binwidth = 14) +
labs(x = "Snout to Tail Length (mm)")R…categorical variables can have either character or factor data types
factor – structured & fixed number of levels / options
character – unstructured & variable number of levels
As a variable on the x- or y-axis
As a color / fill
As a facet
What do you think scales = "free" does?
Which orientation do you prefer? Vertical or horizontal?
Why are there only two boxplots for the Olympic torrent salamander?
What are the aesthetics included in this plot?